﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PAP.Application.Core
{
    public interface IUnitOfWork : IDisposable
    {
        void Commit();
        void Rollback();
    }

    public interface IUnitOfWork<TContext> : IUnitOfWork
        where TContext : class
    {
        TContext Context { get; }
    }
}
